<template>
  <div>
    
    <el-row class="content">
      <el-col :span="12">
        <el-input placeholder="请输入内容" v-model="idcard">
          <template slot="prepend">证件号码：</template>
          <el-button slot="append" icon="el-icon-search" @click="getHouseInfoByIdCard">核验房屋</el-button>
        </el-input>
      </el-col>
    </el-row>
  </div>
</template>
<script>
import supportApi from "@/api/support"

export default {
    data(){
        return{
            idcard:""
        }
    },
    methods:{
        getHouseInfoByIdCard()
        {
            supportApi.getHouseInfoByIdCard(this.idcard).then(r=>console.log(r));
        }
    }
}
</script>
<style lang="less" scoped>
.content{
    width: 80% ;
    margin: 15px auto;
}
</style>